package com.gitee.feizns.upload.domain.ao;

import com.gitee.feizns.upload.domain.enums.ResourceType;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @author feizns
 * @since 2019/8/9
 */
@Data
public class ResourceMAo {

    /**
     * 资源类型
     */
    @NotNull
    private ResourceType type;

    /**
     * 文件
     */
    private MultipartFile[] files;

}
